<!DOCTYPE html>
<html>
<head>
    <title>人员经历信息表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="form-group col-sm-2">
            <input type="text" class="form-control" v-model="q.key"
                   @keyup.enter="query" placeholder="请输入查询条件">
        </div>
        <a class="btn btn-default" @click="query">查询</a>
        <hr>
        <div class="grid-btn">
			<#if shiro.hasPermission("deptmanage:experienceinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("deptmanage:experienceinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("deptmanage:experienceinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
            <form action="../../deptmanage/experienceinfo//templateDownload" method="post" style="display:inline-block;">
                <input type="submit" class="btn btn-primary" value="下载模版" />
            </form>
            <form action="../../deptmanage/experienceinfo/batchImport"  class="fupload" method="post" style="display:inline-block;" enctype="multipart/form-data">
                <input type="file" name="file" placeholder="请选择excel文件" style="border-radius: 5px; padding: 5px;border: 1px solid #2e6da4;display:inline-block;" required="required"/>
                <input type="submit" class="btn btn-primary" value="批量导入"  />
            </form>
            <form action="../../deptmanage/experienceinfo/export" method="post" style="display:inline-block;">
                <input type="submit" class="btn btn-primary" value="导出" />
            </form>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">人员序号</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.userseq" placeholder="人员序号"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">开始日期</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.startDate" id="startDate" placeholder="开始日期"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">结束日期</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.endDate" id="endDate" placeholder="结束日期"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">经历描述</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.experienceInfo" placeholder="经历描述"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">证明人</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.certificateUsername" placeholder="证明人"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">证明人电话</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="experienceInfo.certificateTel" placeholder="证明人电话"/>
                        </div>
                    </div>
<!--											                    <div class="form-group">-->
<!--                        <div class="col-sm-2 control-label">创建日期</div>-->
<!--                        <div class="col-sm-10">-->
<!--                            <input type="text" class="form-control" v-model="experienceInfo.createDate" placeholder="创建日期"/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--											                    <div class="form-group">-->
<!--                        <div class="col-sm-2 control-label">创建人</div>-->
<!--                        <div class="col-sm-10">-->
<!--                            <input type="text" class="form-control" v-model="experienceInfo.createUser" placeholder="创建人"/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--											                    <div class="form-group">-->
<!--                        <div class="col-sm-2 control-label">修改日期</div>-->
<!--                        <div class="col-sm-10">-->
<!--                            <input type="text" class="form-control" v-model="experienceInfo.updateDate" placeholder="修改日期"/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--											                    <div class="form-group">-->
<!--                        <div class="col-sm-2 control-label">修改人</div>-->
<!--                        <div class="col-sm-10">-->
<!--                            <input type="text" class="form-control" v-model="experienceInfo.updateUser" placeholder="修改人"/>-->
<!--                        </div>-->
<!--                    </div>-->
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/deptmanage/experienceinfo.js?_${.now?long}"></script>
</body>
</html>